package com.ruoyi.worklog.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * 项目对象 wl_project
 *
 * @author ruoyi
 * @date 2022-07-25
 */
public class WlProject
{
    private Long id;
    @NotNull(message = "项目名称不能为空")
    private String project_name;
    /** 项目leader */
    @NotNull(message = "项目leader不能为空")
    private Long leader_id;

    private Date create_at;

    private Date update_at;

    /**   备注  */
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public Long getLeader_id() {
        return leader_id;
    }

    public void setLeader_id(Long leader_id) {
        this.leader_id = leader_id;
    }

    public Date getCreate_at() {
        return create_at;
    }

    public void setCreate_at(Date create_at) {
        this.create_at = create_at;
    }

    public Date getUpdate_at() {
        return update_at;
    }

    public void setUpdate_at(Date update_at) {
        this.update_at = update_at;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WlProject{" +
                "id=" + id +
                ", project_name='" + project_name + '\'' +
                ", leader_id=" + leader_id +
                ", create_at=" + create_at +
                ", update_at=" + update_at +
                ", remark='" + remark + '\'' +
                '}';
    }
}